package com.qys.livesMall.system.model.dto.sys;

import com.qys.livesMall.framework.view.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(name = "PlatformInfoQueryPackageDto", description = "平台信息列表dto")
public class PlatformInfoQueryPackageDto extends BaseQuery {

    @Schema(description = "查询的关键字")
    private String title;

    @NotNull(message = "类型不能为空")
    @Schema(description = "类型（0：短期 1：长期）")
    private Byte type;

    @NotNull(message = "平台信息类型不能为空")
    @Schema(description = "平台信息类型（0：公告 1：推送）")
    private Byte typeInfo;
}
